package com.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;


@Entity
public class HotelKtvOrder {

	private Integer id;
	private String token;
	/**
	 * 原始OPENID
	 */
	private String wecha_id;
	/**
	 * 姓名
	 */
	private String book_people;
	/**
	 * 联系电话
	 */
	private String tel;
	/**
	 * 预订时间开始
	 */
	private String checkIn;
	/**
	 * 预订结束时间
	 */
	private String checkOut;
	/**
	 * 预订数量
	 */
	private String bookNum;
//	/**
//	 * 预订价格
//	 */
//	//private Float price;
	/**
	 * 订单状态
	 */
	private boolean orderStatus;
	/**
	 * 顾客备注
	 */
	private String remark;
	
	private HotelKTVList hotelKTVList;
	@ManyToOne
	@JoinColumn(name="hotelktvid")
	public HotelKTVList getHotelKTVList() {
		return hotelKTVList;
	}
	public void setHotelKTVList(HotelKTVList hotelKTVList) {
		this.hotelKTVList = hotelKTVList;
	}
	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getWecha_id() {
		return wecha_id;
	}
	public void setWecha_id(String wecha_id) {
		this.wecha_id = wecha_id;
	}
	public String getBook_people() {
		return book_people;
	}
	public void setBook_people(String book_people) {
		this.book_people = book_people;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getCheckIn() {
		return checkIn;
	}
	public void setCheckIn(String checkIn) {
		this.checkIn = checkIn;
	}
	public String getCheckOut() {
		return checkOut;
	}
	public void setCheckOut(String checkOut) {
		this.checkOut = checkOut;
	}
	public String getBookNum() {
		return bookNum;
	}
	public void setBookNum(String bookNum) {
		this.bookNum = bookNum;
	}
	public boolean isOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(boolean orderStatus) {
		this.orderStatus = orderStatus;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
}
